home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekikoh Dennoh Club 2
/
Gekikoh Dennoh Club Vol. 2 (Japan).7z
/
Gekikoh Dennoh Club Vol. 2 (Japan) (Track 01).bin
/
fsw
/
pd
/
wavemu.lzh
/
scc2
/
PCMLIB.h
< prev
next >
Wrap
Text File
|
1995-07-13
|
3KB
|
93 lines
/*
* Header File for PCMLIB.a
* written by GORRY.
* $Id: PCMLIB.h,v 1.2 1995/07/13 13:43:47 GORRY Exp GORRY $
*/
typedef signed short PCM_16;
typedef PCM_16 PCM_16_P16;
typedef unsigned short PCM_16_PLH;
typedef unsigned char ADPCM_MSM6258;
typedef ADPCM_MSM6258 ADPCM_PCM;
typedef unsigned char ADPCM_PCE;
typedef signed char PCM_8_PC8;
typedef unsigned char PCM_8_PN8;
typedef unsigned char PCM_8_PS8;
typedef unsigned char ADPCM_YAMAHATYPEA;
typedef ADPCM_YAMAHATYPEA ADPCM_PYA;
typedef unsigned char ADPCM_YAMAHATYPEB;
typedef ADPCM_YAMAHATYPEB ADPCM_PYB;
void PCM2P16_INIT( void );
void P162PCM_INIT( void );
void PCE2P16_INIT( void );
void P162PCE_INIT( void );
void PYA2P16_INIT( void );
void P162PYA_INIT( void );
void PYB2P16_INIT( void );
void P162PYB_INIT( void );
void PCMFREQ_INIT( void );
void PCMFFREQ_INIT( void );
void PCMFREQVOL_INIT( void );
void PCMFFREQVOL_INIT( void );
unsigned long PCM2P16( PCM_16_P16 *, ADPCM_MSM6258 *, unsigned long );
unsigned long PLH2P16( PCM_16_P16 *, PCM_16_PLH *, unsigned long );
unsigned long PC82P16( PCM_16_P16 *, PCM_8_PC8 *, unsigned long );
unsigned long PN82P16( PCM_16_P16 *, PCM_8_PN8 *, unsigned long );
unsigned long PS82P16( PCM_16_P16 *, PCM_8_PS8 *, unsigned long );
unsigned long PCE2P16( PCM_16_P16 *, ADPCM_PCE *, unsigned long );
unsigned long PYA2P16( PCM_16_P16 *, ADPCM_YAMAHATYPEA *, unsigned long );
unsigned long PYB2P16( PCM_16_P16 *, ADPCM_YAMAHATYPEB *, unsigned long );
unsigned long P162PCM( ADPCM_MSM6258 *, PCM_16_P16 *, unsigned long );
unsigned long P162PLH( PCM_16_PLH *, PCM_16_P16 *, unsigned long );
unsigned long P162PC8( PCM_8_PC8 *, PCM_16_P16 *, unsigned long );
unsigned long P162PN8( PCM_8_PN8 *, PCM_16_P16 *, unsigned long );
unsigned long P162PS8( PCM_8_PS8 *, PCM_16_P16 *, unsigned long );
unsigned long P162PCE( ADPCM_PCE *, PCM_16_P16 *, unsigned long );
unsigned long P162PYA( ADPCM_YAMAHATYPEA *, PCM_16_P16 *, unsigned long );
unsigned long P162PYB( ADPCM_YAMAHATYPEB *, PCM_16_P16 *, unsigned long );
unsigned long PCMVOL( PCM_16 *, PCM_16 *, unsigned long, long, long );
unsigned long PCMFREQ( PCM_16 *, PCM_16 *, unsigned long, long, long );
unsigned long PCMFFREQ( PCM_16 *, PCM_16 *, unsigned long, long, long );
unsigned long PCMFREQVOL( PCM_16 *, PCM_16 *, unsigned long, long, long, long, long );
unsigned long PCMFFREQVOL( PCM_16 *, PCM_16 *, unsigned long, long, long, long, long );
unsigned long PCMMONO( PCM_16 *, PCM_16 *, long, long );
unsigned long PCMREVERSE( PCM_16 *, PCM_16 *, long );
unsigned long PCMNEGATIVE( PCM_16 *, PCM_16 *, long );
void ADP2PCM_INIT( void );
void PCM2ADP_INIT( void );
unsigned long ADP2PCM( PCM_16 *, ADPCM_MSM6258 *, unsigned long );
unsigned long PCM2ADP( ADPCM_MSM6258 *, PCM_16 *, unsigned long );
enum PCMTYPE {
PCMTYPE_PCM=0,
PCMTYPE_P16,
PCMTYPE_PLH,
PCMTYPE_PC8,
PCMTYPE_PN8,
PCMTYPE_PS8,
PCMTYPE_PCE,
PCMTYPE_PYA,
PCMTYPE_PYB,
PCMTYPE_MAX,
};
/* * * * * * * * *
* このファイルはパブリック・ドメインとなっています。 *
* 改造・再配布・使用について必要な条件はありません。 *
* また、このファイルの使用による責務を作者である *
* GORRYは負わないこととします。 *
* * * * * * * * */